import React from 'react';
import { render } from 'react-dom';

let arr = ["hahaha", "lalala", 333, 444]

let oDiv = <div id="box">
    <ul>
       {
           arr.map(item => <li>{ item }</li>)
       }
    </ul>
</div>

render(oDiv, document.getElementById('app'), () => {
    console.log("渲染成功")
})